package net.sppan.blog.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

import net.sppan.blog.entity.Check;


public interface CheckService {

	Page<Check> findAll(PageRequest pageRequest);
	/**
	 * 根据ID查找
	 * @param id
	 * @return
	 */
	Check findById(Long id);
	void saveOrUpdate(Check check);
	void change(Long id, String type);
	void delete(Long id);
	Page<Check> findPrivacy(int i, Pageable pageRequest);
	
}
